import { createStore } from 'vuex'
import getters from './getters'
import user from './modules/user'
import app from './modules/app';
import setting from './modules/setting';
import cancelToken from './modules/cancelToken'

export default createStore({
  modules: {
    user,
    app,
    cancelToken,
    setting
  },
  getters,
})